<%@page contentType="text/html; charset=utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>E_mail模板管理</title>
<link href="<s:url value="/css/admin.css"/>

" rel="stylesheet" type="text/css">
<s:head/>
</head>
<body>
<s:form action="updateemailtemplate" method="post" name="frm">
<center><b>E_mail模板管理</b></center><br>
<center><s:actionmessage/><s:actionerror/><s:fielderror/> </center>
<table width="90%"  border="1" align="center" cellpadding="0" cellspacing="0" style="border-collapse:collapse ">
  <tr>
    <td width="11%" height="25" align="right"><strong>标题:</strong></td>
    <td width="89%"><s:textfield name="titleTemplate" size="80"/> </td>
  </tr>
  <tr>
    <td height="250" align="right"><strong>内容:</strong></td>
    <td><s:textarea name="contentTemplate" rows="18" cols="70"></s:textarea> </td>
  </tr>
  <tr align="center">
    <td align="right" height="50"><strong>关键字列表:</strong></td>
    <td>
	    <s:iterator value="%{getValueMap()}" status="i">
	    <b><s:property value="key"/></b>&nbsp;:&nbsp;<s:property value="value"/>
	    <s:if test="%{(#i.index+1)%4==0}"><br></s:if><s:else>&nbsp;&nbsp;&nbsp;</s:else>
		</s:iterator>
	</td>
  </tr>
  <tr align="center">
    <td height="50" colspan="2"><font color="red">注：在要显示关键字内容的时方以“\${关键字}”替代。如：\${today}</font></td>
  </tr>
</table>
<br>
<center>
<input type="button" name="Submit" value=" 提 交 " onclick="if(confirm('你确定要修改模板文件吗?'))frm.submit();">
&nbsp;&nbsp;&nbsp;
<input type="button" name="Submit2" value=" 重 设 " onclick="frm.reset();">
</center>
</s:form>
</body>
</html>
